var Mock = require('mockjs');
var data = function () {
    return Mock.mock({
        "resultCode": 200,
        "resultMessage": "OK",
        'data|10': [{
            'id|+1': 1,
            'name': '@cname',
            'email': '@email',
            'ip': '@ip'
        }],
        "pagination": {
            "total": 15,
            "per_page": 15,
            "current_page": 1,
            "last_page": 1,
            "from": 1,
            "to": 15
        }
    })
}
module.exports = data;